Vue.component("my_nav",{
    template:
    `
    <nav id="nav" class="navbar navbar-default navbar-inverse">
    <div class="container">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">首页</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="./zhenrong.html">阵容推荐</a></li>
                    <li><a href="./hero.html">英雄</a></li>
                    <li><a href="./equip.html">装备</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                            aria-haspopup="true" aria-expanded="false">羁绊 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">种族</a></li>
                            <li><a href="#">职业</a></li>
                        </ul>
                    </li>
                </ul>

                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                            aria-haspopup="true" aria-expanded="false">友情链接 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="https://www.bilibili.com">BiliBili</a></li>
                            <li><a href="https://lol.qq.com/">LOL</a></li>
                            <li><a href="https://cn.vuejs.org/">Vue</a></li>
                            <li><a href="https://www.bootcss.com/">Bootstrap</a></li>
                        </ul>
                    </li>
                    <img src="../img/bg/logo.png" id="navLogo">
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </div>
</nav>
    `
})